<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="css/screen.css" type="text/css"
	media="screen" title="css" charset="utf-8" />
<title>Facture</title>
</head>

<body>
	<div id="content">
		<p id="top">Afficher Facture</p>
		<div class="line"></div>
		<div id="body">
			<div id="contenu">
				<h4>Facture</h4>
				<form class="formulaire" action="Facture" method="post"
					accept-charset="utf-8">
					<c:if test= "${empty clientSession || empty adminSession }">
					<fieldset id="facture" class="">
						<c:if test="${not empty erreurs}">
							<c:forEach var="erreur" items="${erreurs}">
								<span class="error">${erreur}</span>
								<br />
								<br />
							</c:forEach>
						</c:if>
						
	<table class="borderless">
		<c:forEach var="contenu" items="${factureSession.contenu}">			
			<tr>
				<td><label for="nofacture">Numéro Facture : </label></td>
				<td>${facture.nofacture}</td>
			</tr>
			
			<tr>
				<td><label for="libFacture">Libelle : </label></td>
				<td>${facture.libFacture}</td>
			</tr>
			<tr>
				<td><label for="dateFacture">Date de Commande </label></td>
				<td>${facture.dateFacture}</td>
			</tr>
			
<!-- 			boolean paye -->
			
			<tr>
				<td><label for="paye">paye : </label></td>
				<td>${facture.paye}</td>
			</tr>
			
<!-- 			boolean delivre -->

				<tr>
				<td><label for="delivre">delivre : </label></td>
				<td>${facture.libFacture}</td>
			</tr>
			
			<tr>
				<td><label for="montantTva">Montant Tva : </label></td>
				<td>${facture.montantTva}</td>
			</tr>
			
			<tr>
				<td><label for="montantHt">Montant Hors Tax : </label></td>
				<td>${facture.montantHt}</td>
			</tr>
			
			<tr>
				<td><label for="montantTtc">Montant Ttc : </label></td>
				<td>${facture.montantTtc}</td>
			</tr>
			</c:forEach>					
						</table>
					</fieldset>
					<br /> 
					
		<input type="submit" value="Voir Articles" class="btn btnSuivant" onclick="location.replace('AfficherArticle')" />
		</c:if>
				</form>
									
			</div>
		</div>
	<br />
</div>
</body>
</html>